#ifndef HUDCAMERA_H
#define HUDCAMERA_H

#include <osg/Camera>
#include <osg/MatrixTransform>
#include <osg/Geode>

class HudCamera : public osg::Referenced
{
public:
	HudCamera(osg::Camera* main_camera, int width, int height);

	void setScene(osg::Node* node);
	osg::Geode* createAxis(float size = 1.0f);
protected:
	~HudCamera();
	
	osg::ref_ptr<osg::Camera> _hudCamera;
	osg::ref_ptr<osg::MatrixTransform> _mt;

	osg::observer_ptr<osg::Camera> _mainCamera;

};
#endif